<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="loginModule" name="Login Module" schema="schema/LoginModule.exsd"/>
   <extension-point id="authorizer" name="Authorizer" schema="schema/authorizer.exsd"/>
   <extension
         point="erwiki.part.authorization.authorizer">
      <authorizer
            class="erwiki.part.authorization.authorizer.DefaultAuthorizer"
            id="DefaultAuthorizer">
      </authorizer>
      <authorizer
            class="erwiki.part.authorization.authorizer.WebContainerAuthorizer"
            id="WebContainerAuthorizer">
      </authorizer>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.apache.wiki.auth.UserProfile"
            class="erwiki.part.authorization.internal.Profile2UserAdapterFactory">
         <adapter
               type="org.osgi.service.useradmin.User">
         </adapter>
      </factory>
      <factory
            adaptableType="org.elwiki.permissions.GroupPermission"
            class="erwiki.part.authorization.internal.IsGroupContainAdapterFactory">
         <adapter
               type="java.lang.Boolean">
         </adapter>
      </factory>
   </extension>
   <extension
         point="com.opcoach.e4.preferences.e4PreferencePages">
      <page
            class="erwiki.part.authorization.internal.services.AuthenticationManagerPreferencePage"
            id="erwiki.preferences.page.authorization"
            name="Authentication">
      </page>
      <page
            class="erwiki.part.authorization.internal.services.AuthorizationManagerPreferencePage"
            id="erwiki.preferences.page.authorization"
            name="Authorizer">
      </page>
   </extension>

</plugin>
